import request from '@/utils/request'

// 查询其他设施日常巡查列表
export function listQitasheshirichangxunjian(query) {
  return request({
    url: '/biz/qitasheshirichangxunjian/list',
    method: 'get',
    params: query
  })
}

// 查询其他设施日常巡查详细
export function getQitasheshirichangxunjian(id) {
  return request({
    url: '/biz/qitasheshirichangxunjian/' + id,
    method: 'get'
  })
}

// 新增其他设施日常巡查
export function addQitasheshirichangxunjian(data) {
  return request({
    url: '/biz/qitasheshirichangxunjian',
    method: 'post',
    data: data
  })
}

// 修改其他设施日常巡查
export function updateQitasheshirichangxunjian(data) {
  return request({
    url: '/biz/qitasheshirichangxunjian',
    method: 'put',
    data: data
  })
}

// 删除其他设施日常巡查
export function delQitasheshirichangxunjian(id) {
  return request({
    url: '/biz/qitasheshirichangxunjian/' + id,
    method: 'delete'
  })
}

// 导出其他设施日常巡查
export function exportQitasheshirichangxunjian(query) {
  return request({
    url: '/biz/qitasheshirichangxunjian/export',
    method: 'get',
    params: query
  })
}